package tpo.lmhconsumer.lmhconsumer.service.impl;

import dto.Dto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tpo.lmhconsumer.lmhconsumer.feign.SpecsClient;
import tpo.lmhconsumer.lmhconsumer.service.SpecsService;

import java.util.Map;

@Service
public class SpecsServiceImpl implements SpecsService {
    @Autowired
    SpecsClient specsClient;
    @Override
    public Dto getSpecs(Map map) {
        return specsClient.getSpecs(map);
    }

    @Override
    public Dto updateSpecs(Map map) {
        return specsClient.updateSpecs(map);
    }

    @Override
    public Dto addSpecs(Map map) {
        return specsClient.addSpecs(map);
    }

    @Override
    public Dto delSpecs(Map map) {
        return specsClient.delSpecs(map);
    }
}
